package homework10.Win;

import homework10.AbstractFactory;
import homework10.Button;
import homework10.Text;
import homework10.Unix.UnixButton;
import homework10.Unix.UnixText;

public class WinFactory implements AbstractFactory {
    @Override
    public Button createButton() {
        System.out.println("createButton被调用000");
        return new UnixButton();
    }

    @Override
    public Text createText() {
        System.out.println("createText被调用...");
        return new UnixText();
    }
}
